﻿using System;
using System.Runtime.Serialization;

namespace Data.ViewModel
{
    /// <summary>
    /// 账户信息
    /// </summary>
    [DataContract]
    public class AccountView
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Serial { get; set; }

        public Int64 Id { get; set; }

        public string CpuNo { get; set; }

        [DataMember]
        public string UserName { get; set; }
        
        [DataMember]
        public string Sex { get; set; }

        [DataMember]
        public string Phone { get; set; }

        [DataMember]
        public DateTime BeginDate { get; set; }

        /// <summary>
        /// 有效日期
        /// </summary>
        public DateTime ValideDate { get; set; }

        /// <summary>
        /// 证件类型
        /// </summary>
        public string IdCardType { get; set; }

        /// <summary>
        /// 证件号
        /// </summary>
        public string IdNo { get; set; }

        /// <summary>
        /// 当前余额
        /// </summary>
        public decimal CurrentMoney { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }
    }
}